﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Sino.CapacityCloud.Repositories.Models
{

    public class WebApiCredential
    {

        [Key()]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public string WebApiCredentialId { get; set; }

        public string AppSecrect { get; set; }

        public string AppKey { get; set; }

        public WebApiCredential()
        {
            this.WebApiCredentialId = Guid.NewGuid().ToString();
        }

    }

}